package cn.yl.user.server.service.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("edu-comment-boot")
public interface CommentFeignService {
    /**
     * @param userId   用户id
     * @param userName 更改后的用户名
     *
     */
    @PutMapping("/course/comment/updateByUserName")
    void updateByUserName(@RequestParam Integer userId, @RequestParam String userName);
}
